package com.timber.login;
/**
 * Title:        JEncrypt <p>
 * Description:  short description<p>
 * Password encryption to align with ESS/IMS server. Requires 2 external dlls - encrypt.dll and JEncrypt.dll.
 *
*/

public class JEncrypt {

	public native String encrypt(String str);

	static {

		/* Load jencrypt.dll */

		System.loadLibrary("JEncrypt");
	}

	public static void main(String[] args) {

		String plainText  	= " ";
		String encryptedText  	= " ";

		plainText	= args[0];

		JEncrypt j = new JEncrypt();
		encryptedText = j.encrypt( plainText );

	}
}
